<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;.
charset=iso-8859-1" />
<meta http-equiv="Content-Language" content="en-us" />
<title>Library Info System</title>
<%= stylesheet_link_tag "style" %>
</head>
<body id="library">
<div id="container">
<div id="header">
<h1>El Directorio</h1>
<h3>Base de Datos de Empresas y Contactos </h3>
</div>


<% tabs_tag do |tab| %>
  <%= tab.home       'Contacts', root_path %>
  <%= tab.companies       'Company', companies_path %>
<% end %>
<p></p>


<div id="user_nav">
<% if current_user %>
        <%= link_to "Edit Profile", edit_user_path(:current) %> |
        <%= link_to "Logout", logout_path %>
        Benvenido
        <%= current_user.screen_name %>
        <%= current_user.id %>
        <%= current_user.level %>


<% else %>
        <%= link_to "Register", new_user_path %> |
        <%= link_to "Login", login_path %>
<% end %>

<p></p>
</ br>
</div>


<div id="content">
<%= yield -%>
</div>
<div id="sidebar"></div>
</div>
</body>
</html>
